<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><spring:message  code="pim"/> - <spring:message  code="myhomepage"/></title>
<link href="<%= request.getContextPath() %>/css/custom.css" rel="stylesheet" type="text/css" />
<link href="<%= request.getContextPath() %>/css/style.css" rel="stylesheet" type="text/css" />
<link href="<%= request.getContextPath() %>/css/v.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery-1.6.2.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery-ui-1.8.14.custom.js"></script>
<%@include file="script/pim-util.jsp" %>
</head>
<body>
<c:if test="${bean.isSigned == true}">
<div id="all">
<div id="wrapper">
<div id="mainheader">
  <jsp:include page="include/common/headerSignedIn.jsp" />
</div> 
<div id="content-wrapper">
<div id="top-menu">
  <jsp:include page="include/common/topMenuHome.jsp" />
</div>
<div class="pg-left-panel">
  <jsp:include page="include/common/leftMenu.jsp" />
</div>
<div class="right-panel-application">
<c:forEach items="${bean.applications}" var="app">
<ul>
<li>
	<div class="cell">
		<a href="${app.friendlyurl}">
		<div class="v-cell-image">
		   <div class="v-cell-text"><span><spring:message  code="${app.title}"/></span></div>
		   <img title="<spring:message  code="${app.title}"/>" 
		        src="${app.imageurl}" alt="<spring:message  code="${app.title}"/>"/>
		</div> 
		</a>
	</div>
 </li>
</ul>
</c:forEach>
</div>	
</div>
</div>
<div class="footer">
    <jsp:include page="include/common/footer.jsp" />
</div>
</div>
</c:if>
</body>
</html>